<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="/css/default.css" type="text/css" />
<title>无标题文档</title>
</head>
<body>
<div class="navi_text">
<img src="/images/litt.jpg"/><span class="navi_text">当前位置:佣金查询->专题佣金明细</span>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="/images/mail_leftbg.gif"><img src="/images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="/images/content-bg.gif"><table width="700px" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31" width="85px"><div class="titlebt">积分查询</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="/images/mail_rightbg.gif"><img src="/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9" align="left">
    <s:form  name="totalJf" action="totalJf" namespace="/commision" method="POST" theme="simple" >
      请选择要查询的月份：<select id="acctMonth" name="acctMonth" onChange="totalJf.submit();"> 
         <script>
            var  isdate= new Date(); 
            var year=isdate.getFullYear();//获取当前年
            var  month=isdate.getMonth()+1;//获取当前月
         for(var i=6;i>0;i--){
         if(month==0){
         year--;
         month=12;
         }
		 if (month<10){
          document.write("<option value='"+year+"-"+"0"+month+"'>"+year+"-"+"0"+month);
		 }else{
			 document.write("<option value='"+year+"-"+month+"'>"+year+"-"+month);
		 }
         month--;
         }
		 document.totalJf.acctMonth.value='<s:property value="acctMonth"/>';
         </script>
       </select>
       
     </s:form>
         </td>
    <td background="/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9" align="center">
    <div class="content_table_jf">
      <table width="800px" bordercolor="#cccccc" cellpadding="0" cellspacing="0" border="0">
         <tr><td class="table_header" width="80px">月份</td>
         <td  class="table_header"width="80px">签约积分</td>
         <td  class="table_header"width="80px">补贴封顶</td>
         <td class="table_header" width="80px">总积分</td>
         <td class="table_header" width="80px">完成比例</td>
         <td class="table_header" width="80px">2G激活量</td>
         <td class="table_header" width="80px">2G积分</td>
         <td class="table_header" width="80px">3G激活量</td>
         <td class="table_header" width="80px">3G积分</td>
         <td class="table_header" width="80px">积分超量补贴</td>
         </tr>
         <s:iterator value="tc" status="count" >
          <tr ><td class="table_row_odd"><s:property value="acctMonth" /></td>
               <td class="table_row_odd"><s:property value="intContract" /></td>
               <td class="table_row_odd"><s:property value="maxAllowance" /></td>
               <td class="table_row_odd"><s:property value="intTotal" /></td>
               <td class="table_row_odd"><s:property value="intComplete" /></td>
               <td class="table_row_odd" style="cursor:pointer" onMouseOver="this.className='table_row_even'" onMouseOut="this.className='table_row_odd'" onClick="javascript:location='/commision/detailJf.do?parentMarkName=2G&acctMonth=<s:property value="acctMonth"/>'"><s:property value="dev2g" /></td>
               <td class="table_row_odd" style="cursor:pointer" onMouseOver="this.className='table_row_even'" onMouseOut="this.className='table_row_odd'" onClick="javascript:location='/commision/detailJf.do?parentMarkName=2G&acctMonth=<s:property value="acctMonth"/>'"><s:property value="int2g" /></td>
               <td class="table_row_odd" style="cursor:pointer" onMouseOver="this.className='table_row_even'" onMouseOut="this.className='table_row_odd'" onClick="javascript:location='/commision/detailJf.do?parentMarkName=3G&acctMonth=<s:property value="acctMonth"/>'"><s:property value="dev3g" /></td>
               <td class="table_row_odd" style="cursor:pointer" onMouseOver="this.className='table_row_even'" onMouseOut="this.className='table_row_odd'" onClick="javascript:location='/commision/detailJf.do?parentMarkName=3G&acctMonth=<s:property value="acctMonth"/>'"><s:property value="int3g" /></td>
               <td class="table_row_odd"><s:property value="jfcl" /></td>
          </tr>
        </s:iterator>
      </table>
    </div>
    <table width="800px" bordercolor="#cccccc" cellpadding="0" cellspacing="0" border="0" style=" margin-top:20px">
      <tr>
        <td>
        <div class="remarks">
        <ul>
          <li>每天上午9:00更新数据,实际佣金以次月结算结果准</li>
          <li>点击2G、3G积分值可以查看相应明细</li>
        </ul>
        </div>
        </td>
      </tr>
    </table>
    </td>
    <td background="/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
   <tr >
    <td valign="bottom" background="/images/mail_leftbg.gif"><img src="/images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="/images/buttom_bgs.gif"><img src="/images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="/images/mail_rightbg.gif"><img src="/images/buttom_right2.gif" width="16" height="17" /></td>
   </tr>
</table>
</body>
</html>